using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace SimpleFramework
{
    public static class Timer
    {
        //private static float s_Time;
        private static bool s_IsPause;

        public static float time { get { return Time.time; } }

        public static float deltaTime { get { return Time.deltaTime; } }

        public static bool IsPause { get { return s_IsPause; } }

        public static void Pause()
        {
            //s_Time = System.Environment.TickCount;
            s_IsPause = true;
        }

        public static void Recover()
        {
            s_IsPause = false;
        }
    }
}